// 创建数据库连接
const mysql = require('mysql')
const db = mysql.createConnection({
    host:'localhost',
    user:'root',
    password:'00000000',
    database:'message_board'
})
db.connect();

module.exports = db;